package com.weigee.ktv.v.fragment;

import android.content.Context;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.l.d.app.library.util.ResourceUtil;
import com.weigee.ktv.R;
import com.weigee.ktv.v.view.WrapTitleBar;

import butterknife.BindView;

/**
 * Created by 林德 on 2017/4/14 9:59.
 * <p/>
 * 使用条款
 */
public class TermsUseFragment extends BaseFragment implements View.OnClickListener
{
    @BindView(R.id.wrap_title_bar)
    WrapTitleBar mTitleBar;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState)
    {
        return inflater.inflate(R.layout.termsuse_frag, container, false);
    }

    @Override
    protected void initView(View view, @Nullable Bundle savedInstanceState)
    {
        final Context context = view.getContext();
        mTitleBar.setTitle(ResourceUtil.string(context, R.string.title_terms_use));
        mTitleBar.setLeftButtonListener(this);
    }

    @Override
    public void onClick(View v)
    {
        back();
    }
}
